package com.pojo;

/*饿汉模式*/
public class Teacher {
    private static Teacher teacher = new Teacher();

    private Teacher() {
    }

    public static Teacher getTeacher() {
        return teacher;
    }
}
